<select onchange="showCursos(this.value);" name="PENSUM" id="PENSUM">
    <option value="">Seleccione</option>
    <?php
    include('../../include/functions.inc.php');
    $ps = $db->query_select("cllg_pensum", "FK_CAREER=" . getParam("CARRERA"));
    foreach ($ps as $p) {
        ?>
        <option value="<?php echo $p["CODE_RELEASE"]; ?>"><?php echo $p["CODE_RELEASE"]; ?></option>
    <?php } ?>
</select>